package com.baizhi.cmfz.service;

import com.baizhi.cmfz.entity.Article;

import java.util.List;
import java.util.Map;

/**
 * This is a Interface.
 *
 * @author zhanglh
 * @date 2019/09/11
 */
public interface ArticleService {
    Map selectAllArticle(int page, int limit, String articleName);

    int addArticle(Article article);

    int removeArticle(int[] ids);

    int updateArticle(Article article);

    int freeze(Article article);

    Article selectOneArticle(int articleId);

    int freezeStutas(int guruId, int status);

    List<Article> fundArticleList(Integer count);
}
